package com.yeyaomai.dksns.flowis.domain;

@SuppressWarnings("rawtypes")
public class LatestRefer implements Comparable {

	public LatestRefer(String referer, int count) {
		super();
		this.referer = referer;
		this.count = count;
	}

	private String referer;
	private int count;

	public String getReferer() {
		return referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	// 注意：倒叙排
	@Override
	public int compareTo(Object arg0) {
		// TODO Auto-generated method stub
		return ((LatestRefer) arg0).getCount() - this.count;
	}
}
